﻿package ua.mihaylenko.cardsplugin.data{
	public dynamic class DataManager {
		public static var _cInstance:DataManager
		private var _aThumbs:Array;
		public function DataManager(){
			initDatas();
		}
		public static function getInstance():DataManager{
			if(_cInstance == null) _cInstance = new DataManager();
			return _cInstance;
		}
		private function initDatas(){
			_aThumbs = new Array(); 
		}
		private function set thumbs(aThumbs:Array){
			_aThumbs = aThumbs.slice();
		}
		private function get thumbs():Array{
			return _aThumbs.slice();
		}
	}
}